<include file="Public/header" title="分类列表" />
<div id="page-wrapper">
    <ol class="breadcrumb">
        <li class="breadcrumb-item">
          <a href="/admin.php">首页</a>
        </li>
        <li class="breadcrumb-item active">分类设置</li>
      </ol>
    <div class="row">
        <div class="col-md-6">
           <a href="{:U('industry/add')}" class="btn btn-success">添加分类</a>
        </div>
 <table class="table table-hover table-striped">
        <thead>
            <tr>
                <th>序号</th>
                <th>行业名称</th>              
                <th>操作</th> 
            </tr>
        </thead>
        <tbody>
            <foreach name="data" item="v">
              <tr>
                    <td>{$v.id}</td>
                    <td>{$v.industry_name}</td>
                     <td><a href="{:U('industry/update?id=')}{$v.id}">编辑</a> | <a href="{:U('industry/delete?id=')}{$v.id}" style="color:red;" onclick="javascript:return del('您真的确定要删除吗？\n\n删除后将不能恢复!');">删除</a></td>
                   <!--  <td><a href="##">删除</a>/<a href="##">编辑</a></td> -->
                </tr>
             </foreach>     
<!--         <foreach name="data" item="v">
                <tr>
                    <td>{$v.news_id}</td>
                    <td><a href="{:U('news/detail?id=')}{$v.news_id}">{$v.title}</a></td>
                    <td>{$v.add_time|date="Y/m/d H:i:s",###}</td>
                    <td><a href="{:U('news/update?id=')}{$v.news_id}">编辑</a> | <a href="{:U('news/delete?id=')}{$v.news_id}" style="color:red;" onclick="javascript:return del('您真的确定要删除吗？\n\n删除后将不能恢复!');">删除</a></td>
                </tr>
        </foreach> -->
        </tbody>
    </div>

    <div class="clearfix"></div>
  
    
</div>
<include file="Public/footer" />